package com.chencq.module.role.entity;

import java.util.Date;

public class Role {
	private String roleId;
	private String name;// 名称
	private String description;// 描述
	private Integer status;// 状态
	private Date updateTime;// 最后更新时间
	private Date createTime;// 用户创建时间

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("{\n roleId:");
		builder.append(roleId);
		builder.append(", \n name:");
		builder.append(name);
		builder.append(", \n description:");
		builder.append(description);
		builder.append(", \n status:");
		builder.append(status);
		builder.append(", \n updateTime:");
		builder.append(updateTime);
		builder.append(", \n createTime:");
		builder.append(createTime);
		builder.append("\n}");
		return builder.toString();
	}
}
